<template>
    <page-body >
        <view class="page" >
    <view class="flex align-stretch benben-position-layout flex orderMessages_flex_0"    :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
            <view   class='flex align-center justify-between flex-sub orderMessages_fd0_0'      >
            <view   class='flex align-center orderMessages_fd0_0_c0'   @tap.stop="handleJumpDiy" data-type="back" data-url="1"   >
        <text class='fu-iconfont2  orderMessages_fd0_0_c0_c0'  >&#xE794;</text>
</view>
    <view   class='flex align-center'      >
        <text class='orderMessages_fd0_0_c1_c0'  >订单消息</text>
</view>
    <view   class='flex align-center orderMessages_fd0_0_c0'      >
        </view>
</view>

        </view>
<view :style="{height: (88+StatusBarRpx)+'rpx'}"  ></view>
<!---订单消息flex布局开始-->
 <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout orderMessages_flex_1"    >
            <template v-for = '(item,key0) in dataMessage'>
    <view   class='flex flex-direction flex-wrap align-stretch orderMessages_fd1_0'   @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/grzx/newDetail/newDetail?id=${item.aid}`"    :key='key0'>
            <view   class='flex flex-wrap align-center justify-between orderMessages_fd1_0_c0'      >
        <text class='orderMessages_fd1_0_c0_c0'  >{{item.title}}</text>
<text class='orderMessages_fd1_0_c0_c1'  >{{item.create_time}}</text>
</view>
    <view   class='flex flex-wrap align-center orderMessages_fd1_0_c1'      >
        <image class='orderMessages_fd1_0_c1_c0'  mode="aspectFit"  :src='item.thumb'  ></image>
<text class='flex-sub orderMessages_fd1_0_c1_c1'  >{{item.content}}</text>
</view>
    <view   class='flex flex-wrap align-center'      >
        <text class='orderMessages_fd1_0_c2_c0'  >来自</text>
<text class='flex-sub orderMessages_fd1_0_c2_c1'  >{{item.from}}</text>
</view>
</view>
    </template>
    <fu-empty :pagingListLoadedAll="pagingListLoadedAll" :pagingListNoListData="pagingListNoListData" :listDataLength="listDataLength" :isLoadInit="isLoadInit"></fu-empty>
</view>
        
<!---订单消息flex布局结束-->
    
    
        </view>
    </page-body>
</template>
<script>
    import pagingList from '@/common/mixin/paging_list.js';
import {validate} from '@/common/utils/validate.js'
    
    export default {
        components:{},
        mixins: [pagingList],
        
        data(){
			return {"minixPagingListsApi":"","pageingListApiMethod":"","allowOnloadGetList":false,"dataMessage":[],"id":""};
		},
		computed:{
            
		},
		watch:{},
		onLoad(options){
            let {id}=options
if (id !== undefined) this.id = id
		},
        onUnload() {
                
        },
		onReady(){
            
		},
		onShow(){
            this.getListFunc()
		},
		onHide(){
            
		},
		onResize(){
            
		},
		onPullDownRefresh(){
            
		},
		onReachBottom(e){
            
		},
		onPageScroll(e){
            
		},
		methods:{
                            //系统消息-获取指定类型的消息列表
                 getListFunc(){
                                    this.minixPagingListsApi = global.apiUrls.post6424280846288;
                this.pageingListApiMethod = 'get';
                this.allowOnloadGetList = false;
                this.pagingListPostDataContent = {msg_type:'2'}
                this.listData = [];
                this.dataMessage = this.listData;
                this.pagingListToggle();
                
                },
                pagingListPostData(){
                    return this.pagingListPostDataContent
                }
		}
    };
</script> 
<style lang="scss" scoped>
           .page{
            width: 100vw;
            overflow-x: hidden;
            min-height: calc(100vh - var(--window-bottom));
            background:#F8F8F8;background-size: 100% auto;
        }
    .orderMessages_flex_0{
        background:#fff;width:750rpx;height:88rpx;overflow:hidden;z-index:10;top:0rpx;background-size:100% auto !important;
    }
    .orderMessages_fd0_0_c1_c0{
        font-size:36rpx;font-weight:500;color:#333;
    }
    .orderMessages_fd0_0_c0_c0{
        font-size:32rpx;font-weight:500;color:#333;
    }
    .orderMessages_fd0_0_c0{
        width:180rpx;
    }
    .orderMessages_fd0_0{
        padding:0rpx 32rpx 0rpx 32rpx;line-height:88rpx;
    }
    .orderMessages_flex_1{
        padding:24rpx 24rpx 0rpx 24rpx;
    }
    .orderMessages_fd1_0_c2_c1{
        font-size:24rpx;font-weight:400;color:#999999;line-height:33rpx;-webkit-line-clamp:1;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;
    }
    .orderMessages_fd1_0_c2_c0{
        font-size:24rpx;font-weight:400;color:#999999;line-height:33rpx;
    }
    .orderMessages_fd1_0_c1_c1{
        font-size:28rpx;font-weight:400;color:#999999;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;line-height:43rpx;
    }
    .orderMessages_fd1_0_c1_c0{
        width:140rpx;height:140rpx;margin:0rpx 16rpx 0rpx 0rpx;border-radius:0rpx 0rpx 0rpx 0rpx;
    }
    .orderMessages_fd1_0_c1{
        background:rgba(250, 250, 250, 1);margin:0rpx 0rpx 24rpx 0rpx;background-size:100% auto !important;
    }
    .orderMessages_fd1_0_c0_c1{
        font-size:24rpx;font-weight:400;color:#BFBFBF;line-height:33rpx;
    }
    .orderMessages_fd1_0_c0_c0{
        font-size:34rpx;font-weight:500;color:#333333;line-height:48rpx;
    }
    .orderMessages_fd1_0_c0{
        margin:24rpx 0rpx 22rpx 0rpx;
    }
    .orderMessages_fd1_0{
        background:#fff;background-size:100% auto !important;border-radius:16rpx 16rpx 16rpx 16rpx;padding:0rpx 24rpx 24rpx 24rpx;margin:0rpx 0rpx 24rpx 0rpx;
    }
</style>